<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function clickMe() {
				// console.log("Hello JS");
				// alert("Hello World");
				// document:内置对象，代表整个浏览器文档结构
				var input = document.getElementById("intputId");
				var value = input.value;
				alert(value);
			}
		</script>
	</head>
	<body>
		<input  type="text" id="intputId"/> <br/>
		<button onclick="clickMe()">点我</button>
	</body>
</html>
